# @Author:      me
# 文件创建日期:    2023-07-05 9:39
# 当前文件:       workspace/if_demo.py


#输入一个成绩在1-100之内,判断他挂科没,如果没挂请给出等级评价100-90s,89-80A,....

ticket = int(input("买票没?1为买票了,0为没买"))

print(ticket!=0)

if ticket!=0 and ticket!=1:
    print("能不能看懂人话?")
else:
    if ticket==1:
        print("候车吧")
    else:
        print("滚出去")
        ticket = int(input("买票没?1为买票了,0为没买"))

        print(ticket != 0)

        if ticket != 0 and ticket != 1:
            print("能不能看懂人话?")
        else:
            if ticket == 1:
                print("候车吧")
            else:
                print("滚出去")
ticket = int(input("买票没?1为买票了,0为没买"))

print(ticket!=0)

if ticket!=0 and ticket!=1:
    print("能不能看懂人话?")
else:
    if ticket==1:
        print("候车吧")
    else:
        print("滚出去")
ticket = int(input("买票没?1为买票了,0为没买"))

print(ticket!=0)

if ticket!=0 and ticket!=1:
    print("能不能看懂人话?")
else:
    if ticket==1:
        print("候车吧")

    else:
        print("滚出去")




